import numpy as np
import cv2
from matplotlib import pyplot as plt

img = cv2.imread("img/kola.jpg",0)
# cv2.namedWindow(first, cv2.WINDOW_NORMAL)
cv2.imshow("first", img)
cv2.waitKey(0)
cv2.imwrite("img/f.jpg",img)